#!encoding=utf-8
import android
import re
def DeleteArtist(lstArtists):
    wnd = android.Android()
    wnd.dialogCreateAlert('请选择要删除的歌手名')
    wnd.dialogSetPositiveButtonText("删除选中")
    wnd.dialogSetNeutralButtonText("返回")
    wnd.dialogSetMultiChoiceItems(lstArtists,[])
    wnd.dialogShow()
    response = wnd.dialogGetResponse().result
    if(response.has_key('which')):
        result = response['which']
    else:
        result = None
    if result == "positive":
        return wnd.dialogGetSelectedItems().result
    wnd.dialogDimess
    return -1